From d82f74a39f764e0985609cc6390359b0f57e7b8c Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Fri, 16 Dec 2016 15:01:34 +0100 Subject: [PATCH] configure: make the f16c test for half-float instructions stricter --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6caaf9a..729770c 100644 --- a/configure.ac +++ b/configure.ac @@ -408,7 +408,7 @@ if test "x$enable_mmx" = xyes; then CFLAGS="$CFLAGS $sse_flag $f16c_flag" - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include ],[__m128 val = _mm_cvtph_ps ((__m128i)_mm_setzero_ps());])], + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include ],[__m128 val = _mm_cvtph_ps ((__m128i)_mm_setzero_ps()); __m128i val2 = _mm_insert_epi64((__m128i)_mm_setzero_ps(), 0, 0);])], AC_DEFINE(USE_F16C, 1, [Define to 1 if f16c intrinsics are available.]) AC_MSG_RESULT(yes) , -- 2.30.2